package cn.ccit.DAO;

import java.util.List;

import cn.ccit.entites.DiningTable;
/**
 * 
 * @author wanghao
 *  餐桌操作
 */
public interface DiningTableDAO {
	public boolean addDiningTable(DiningTable dt);//添加餐桌
	public boolean removeDiningTable(DiningTable dt);//移除
	public boolean changeDiningTableInfo(DiningTable dt);//修改
	public boolean changeDiningTableState(DiningTable dt);//修改
	public List<DiningTable> getSomeDiningTables(int start,int limit);//获取一定条数数据
	public DiningTable searchDiningTableByID(int id);//通过id搜索餐桌
	public DiningTable searchDiningTableByName(String name);//通过名字
	
}
